package org.price.sql.repo.document.model;

public interface Document {

    public static final int LIFECYCLE_ACTIVE = 1;

    public static final int LIFECYCLE_INACTIVE = 2;

    public static final int LIFECYCLE_DELETED = 3;

    public String getId();

    public String getName();

    public void setName(String name);

    public void setId(String id);

    public Document getParent();

    public void setParent(Document document);

    public String getPath();

    public Object getProperty(String name);

    public void setProperty(String name, Object value);

    public int getLifecycleState();

    public void setLifecycleState(int lifecycleState);

    public String getType();

    public boolean isFolder();

    public boolean isLocked();

}
